Loads the credentials from the database.
instance of SecretStorage
the identity id whose credentials are being loaded.
Credentials if successful, null otherwise.