async def METHOD_NAME(server: protocol.Server, auth_client: endpoints.Client) -> None:
    old_pw = "old_password"
    new_pw = "new_password"
    response = await auth_client.add_user("admin", old_pw)
    assert response.code == 200
    response = await auth_client.list_users()
    assert response.code == 200
    assert response.result["data"]
    assert response.result["data"][0]["username"] == "admin"
    response = await auth_client.set_password("admin", "toshort")
    assert response.code == 400
    assert response.result["message"] == "Invalid request: the password should be at least 8 characters long"
    response = await auth_client.set_password("admin", new_pw)
    assert response.code == 200
    response = await auth_client.list_users()
    assert response.code == 200
    assert response.result["data"]
    assert response.result["data"][0]["username"] == "admin"
    response = await auth_client.login("admin", old_pw)
    assert response.code == 401
    response = await auth_client.login("admin", new_pw)
    assert response.code == 200