look for username in case insensitive way

To work with pre beta 2 installations.
Merge pull request #3 from mat-mo/master

look for username in case insensitive way