Any term in contract that is contradictory to law is null and void. That's been in contract law since forever.
The law always trumps contracts.
The law always trumps contracts.
They are a US company, and their TOS says they can ban an account for any reason or no reason at all. If they chose to ban anyone who shares passwords, even with the US government, even if they are Americans or not, they are within their rights as a US company to do so.
Also, proximity in time to an event is admissible as evidence of intent.