issue #19224: Add support to sync global users to database users.