[1.7.x] Fixed #22652 -- Replaced UserModel.objects with UserModel._default_manager.

Thanks alexdlaird for the report.

Backport of b68fac7e88 from master