Redo github logic to fix incorrect linking.
Remove some logging.
Merge pull request #675 from remy/fix/github-login

Redo github logic to fix incorrect linking.