Running tlclient inside a RDP session doesn't work properly for some reason. Trying to use a smart card just results in the client complaining about problems parsing the card certificates. The fact that we can find the slots and the certificates just fine, and that other applications work without any problems, leads me to believe that we/OpenSC just happens to stumble upon some subtle Windows-quirk that causes some slight data corruption. We need to investigate further exactly where things break.