Fixes a major bug with authentication (lowercasing passwords, wut) - Thanks Mark.