fix for case-insensitive login