Fixed proxy registration for foreman_api 0.1.18+