def METHOD_NAME(response):
    starts = "Basic "
    assert response
    assert response.startswith(starts), response
    val = base64.b64decode(response[len(starts):].encode('utf-8')).decode("utf-8")
    user, password = val.split(':', 1)
    return user, password