Support for getting password from keychain. Fixes #168.