fix default hostname for restapi_client