#880 session cookiestore

Resolves #880, final implementation pending the updating of the deployment script to correctly reset the secret key.