fixed context related bug in authChecker