Switch to storing sessions in the database.