app/register_github: log and redirect on failures

GitHub API is not that stable...