Trust me, HCL is not the only company. Many companies have most incompetent people as their HR. I met one such jerk
in iFlex as well, and my counter arguments with him were even stronger (though not rude). Wish you could inject some common-sense in their heads. But individual jerk doesn't mean that the company or its work is bad, but after such encounters you better not accept their offer, if you get one.
In another large, very reputed company I received mail from HR before my interview that I am "rejected", same day I received mail from their manager CCd to another HR that I am called for an interview. The HR person apologized. Thi s happened thrice, and ultimately after all those rounds of technical interviews when I faced HR -- I did ask her about this, and she ony had embarassed smile on her face. I did get the offer, but I did not join the company for several reasons, and one of them was this -- unprofessional and ill-informed HR.