Added database migration for contrib.sessions.

refs #22170.