What if this block below is moved into a profileManager.cacheProfile() function, so that the initialization of redis and clients to it + actions exist only once there in profileManager?

I'm not seeing where authManager.init() was being called anyway so not sure this is safe as is anyway :)