Make the username check case insensitive

Fixes #18