Merge credentials from input and user info from LDAP.