Katello/katello — pull request #1162 by iNecas (2012-11-30 12:42:58+00:00)
Title: Provide the headers for when pinging Foreman

Otherwise the authentication fails due to missing user mapping.

If you wonder why it worked so far, the answer is here:

https://github.com/theforeman/foreman/pull/274

After the fix in Foreman, it would correctly start failing.