Added OS X keychain support