Make sure cookie is initialized before we use it.