Fix small errors in auth modules
Merge pull request #256 from esl/fix_auth

Fix small errors in auth modules