Store token info in cookie