Apparently it's pretty safe from an audit standpoint if you pay yourself at least $118,500, the maximum amount that is taxable for Social Security. Of course, that means you just save the 2.9% tax for Medicare on any remaining income.
My accountant put it this way: nobody gets audited for paying themselves more than zero salary. Reasonable salary comes into play if you get audited for something else.
Still, I totally agree that it's unethical.