Fix authorization test