fn normalize_base_url(raw: &str) -> String
Strip trailing slashes and an optional /v1, then append /v1.
/v1