Your assessment of the company is correct! NO ONE needs to be humiliated at an interview like that. You are also correct in your in your assessment of the treatment of our clients! But that,s just the start. How do you think that would have treated you if you where hired? From experience it's much worse. At the presant I have been asked to perform tasks using equipment that is old and un-calibrated on projects for local cities. I have mentioned that this is FRAUD but no one cares!
You have done the RIGHT thing! Just chalk it up to experience. Personal integrity is the MOST important thing! There people don't have it! As others have said in previous postings, this whole company is going to implode and you would only be un-employed anyway.