LPS-32110 Fix "test-sample-sql", add initialization for PortletPreferencesFactoryUtil.

...esFactoryUtil.