fix failing authorization test