basic auth for gist API support

Allow setting GITHUB_USER and GITHUB_PASSWORD env vars, if
GITHUB_OAUTH_TOKEN is not set to use basic auth with the API.