Don't blithely downcase login name

Reported by David Tanzer.