Bug 901949 - setting Accept header on OAuth to workaround a bug in some versions of ActiveSupport