fix login error
fix redirect loop for bad auth
Merge branch 'master' of github.com:localytics/github-s3-auth