Use Credentials in CredentialError