Allow customizing the content-type and accept headers for oauth calls