Fixed authentication cache problem where it was initialized before the change store