Bugfix read password copy to nil

Hey kless, it's yet another pull request... This one is based on patch-mac. Let me know if you don't want to accept that one and I'll rebase this one back to master...