[#45] fixed downcasing of usernames, users can now login with case-insensitive username or email