Test case for AuthorizationError.