Adding Accept header to request for token

This fixes problems with using OAuth2 on GitHub