Did they say to you it isn't allowed and you're going to be banned or something? It's factually sharing an account but this doesn't mean you're going to be in trouble over it.
All the TOS says is if you give out your password, SE isn't responsible in getting a stolen account back.
Section 3.1 specifically.