DNN-6100 PortalSettings refactoring
Fix order of setting default values and portalinfo values.