fix auth issue with Gatekeeper