Add test case for AuthorizationError.