Fix token cache setting