Fixed nonstandard home directory. Passphrase caching for windows.