Remove extra slash from HTTPS redirect