Well, ok. If the Avengers feel it is a moral imperative to ignore that authority, they are breaking the law, and should be willing to take the punishment for it.
That's pretty much Cap in a nutshell. Like when he went against authority to save a bunch of prisoners in WW2, then came back with them and immediately submitted himself for disciplinary action. The dude does what he thinks is right to save lives.