Read environment variables for setting a persistent cookie
Set a persistent cookie if PERSIST_COOKIE is set on the request

The persistent cookie will expire in PERSIST_TTL days
The persistent cookie will not be refreshed halfway through its life
Test for setting a persistent cookie