Trim trailing slashes in Enterprise URLs

Otherwise, we might open the browser to something like `https://hostname//login…`, which will fail miserably.