Updated proxy registration for foreman_api 0.1.18+

Nightly is failing to register proxy