Add better errors for user to github login.
Merge pull request #678 from remy/fix/github-login

Add better errors for user to github login.