Fixes #7833 - foreman_url is set for the smart proxy

Need this for various plugins.