Fix cae-insensitive username lookup