Adding Accept header to request for token

This fixes problems with using OAuth2 on GitHub
Merge pull request #1 from vojto/patch-1

Great, thanks! This shouldn't cause problems with other services so I guess it makes sense to just always set the `Accept` header for token exchange requests.