def METHOD_NAME(config_content: str) -> str:
    """Return a legacy authorization header."""
    conf = _load_potentially_base64_config(config_content)
    auth = _get_macaroons_from_conf(conf)
    return base64.b64encode(json.dumps(auth).encode()).decode()