Check whether we get a serialized dictionary, rather than error being set, to decide whether to continue trying to save to the keychain.