Add factory for LdapAuthSource

Required for a plugin test.