Fixed authentication case sensitivity