Throw an exception in case a credential is provided when a service
requires no authorization.