Fix AuthorizationTest