Fixes in auth module
Merge branch 'master' of https://github.com/ochirkov/aws-book