DS-1781 LDAP never uses the specified email_field

Made a PR for the proposed patch; I haven't tested it yet.