Added support for storing login in keychain