Trying to work around vanilla cookies bug