Use foreman_url instead of root_url to avoid tunnelling issues