Add support for cookie based sessions (encrypted).