Remove deprecated Github API methods

and add tests
possible to mock that token auth is required?