Attempt to fix a bug with cookies