Add case-insensitive username comparison.

Resolves #170