Redirect to the correct location after oauth.
Merge pull request #71 from pretenders/github_fixes

Redirect to the correct location after oauth.