OGDS updater: Make check for AD user IDs more robust.

Depending on what `groupid_attr` and `User ID Attribute` are set to for the Active Directory plugin and LDAPUserFolder, the user and group IDs may end up in different attributes, and may or may not be mapped.

This change make the check for a valid UID more robust, trying `['userid', 'sAMAccountName', 'windows_login_name']` in this order.