Get rid of CacheManager, handle oauth errors