fn strip_api_from_endpoint(endpoint: Url) -> Url
Strips the .api from the login endpoint. The .api prefix will cause a failure during login in the browser.
.api