Bug 42184: Make torconnect redirect compatible with blank home page.
Bug 42184: Split out URI fixup logic to fixupURIs and simplify. This method is used in TorConnectParent to fixup the home page preference.