Setting cookie and retrieving cookie to keep user in same variant