Patching authorization tests