Store cookies both with and without persistence, in case persistent
cookie is not accepted