Improved how request_headers are set

The Foreman requires the Accept header field to be set to application/json,
otherwise it will redirect you to the login page on every request. This is now
being forced in the proper fashion.