Fix proposal for issue #565

Normalizes the user input so that we consider the uid is always
lowercased.

Note: subject to change in a near future to allow using an other LDAP
field in distinguished name, see issue #567.
Merge pull request #568 from pmauduit/issue565

ldapadmin - Fixed #565