Get oauth token with PyGithub instead of requests