Extract an interface for the ldapuser
Update provider to use the interface instead of the implementation
Add configuration option to provide the user model

in config.yml. Defaults to the internal user model.
Instantiate a user from the provided model in LdapUserProvider