Few CUser::StateChange() fixes.