Bug fixes to error handling.  Added a method to check for the presence of a security token in the keychain.