issue #22063: fix user account privilege bug