The author delayed his attempt to do something about the cult and got fired because he planned to do so. It would have been better to be fired after raising concerns to the HR. This would have been both more ethical and would also give a more solid ground for the trial, so that's a bit sad. Yet, that's so much better than the tons of people who knew and did nothing. Good luck to him!
The author explains that he had TVC (temp/vendor/contractor) status, so he didn't reported to the same HR as the full-timers that were members of the cult. He also adds that his HR was notorious of their "not my problem" attitude.
If you can prove the firing reason was this. Which would be rather hard to establish unless he somehow gets his hands on some email from the top management saying "that bastard joined a union?! Fire him on the spot!". I estimate chances of that as fairly low.
Yea I would imagine that must have factored in. Not at all saying that they should have of course - the opposite - but it seems odd they did not also mention that a bit more.....