I forget about the stupid case sensitive username thing.
Please be more precise. What does "broke my web authentication" mean? What kind of error are you seeing? How exactly does your haproxy configuration look like now? Also share /var/log/haproxy.log
.
"It broke" isn't enough information for anyone to help you.