Commit session encoder secret to database