Fixed database platform initialization in SessionCustomizer.