[IOTDB-4398][IOTDB-4416] Migrate some SessionIT (#7393)