Some quick notes:

Ensure that the foreman-proxy owns it's own home directory... if it doesn't you will have major issues provisioning hosts