Expand LDAP auth API

Summary: Ref T1536. Support LDAP import somewhat better so I can nuke more code.

Test Plan: See next diff. Performed LDAP import.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T1536

Differential Revision: https://secure.phabricator.com/D6242