[1.7.x] Removed usaged of contrib.sessions as a placeholder in migration tests.

Without this, we're unable to add actual migrations for the app.

Backport of 808388c28c from master
[1.7.x] Added database migration for contrib.sessions.

refs #22170.

Backport of 37a8f5aeed from master