LPS-39751 Add PortalPreferencesWrapper service layer caching
LPS-39751 Fix the test