Fix login issues caused by case sensitivity