Fixes session model initialization. (causing sessions to not get written to DB)