Just a question:
For the bug with the login containing special character, you said to use a function that strips accent.
It's ok, and works properly.
But what about login containing other character like "°" ?
I know a user who was unable to connect, his login was pierrick°42. Someone of your staff had to change his login to pierrick42.