fix auth issue with Gatekeeper
Merge pull request #131 from ke4/fix_auth_issue_with_gatekeeper

fix auth issue with Gatekeeper