Fixed case sensitive user names

This is actaully a regression, I need to figure out how to unit test
this sucker.