fix: ensure rest client is init'd before any APIs run