Adds patch to hardcode oauthconnector hack for json Accept header.