fix null handling in GetUserLocalSetting, add explicit SetDemoMode(false) on sucessful login