simplify setup code: cut off baseUrl only once
don't detect baseUrl on cli
don't redirectToDomain in maintenance controllers plus assets

allows maintenance/setup being run without redirecting us away