remove unnecessary token cache repository factory