Backout broken attempt at making case insensitive authentication work