Changed to get hostname from system to set baseurl_auth and baseurl_workflow