Add LDAP informations to a new user after the registration

Check the search result (`is_error` && `count`) before calling `entry()`. Get some inspiration from the method `match_in_subclass`.