Fixes for when useDomainPrefixes is set to true in umbraco.settings