Minor: move SessionStateDefaults into its own module
#11566
Merged
SessionStateDefaults into its own module
#11566