Replace factory with a new caching thread safe authenticating rest client with extra bells and whistles.  Needs some testing.