Set token data in cache
Fix token get parameters