Update to use cookie store instead of AR.