Fixing problem with non-existing cookies