Report them. Encourage others to report them.
It is botting plain and simple. These players aren't just autorunning. They use skills on macros to keep from being timed out, no different than those necro MM botters you see everywhere. Anet needs to start taking action against them. They need to plainly state their policy against this behaviour specifically so there can be no doubt that it is wrong. Anet is at fault as much as these cheating players are.
In Maguuma, in particular it's spectacularly bad. Today, for example, along the backwall I counted (and reported) 30 plus players hiding and running against the walls. Hours later many were still there. The queue was hitting over 50 at the time, and there was a very noticeable lack of active players defending, fighting, and otherwise playing normally. It affected everyone playing in a detrimental fashion.
At it's best, it's denying others the chance to play due to selfish aholes not wanting to wait their turn to play. In reality, it's a form of match manipulation that sees significant changes in territory held, and an inability to fight back.
If you're ok with this Anet, say so. I'll stop reporting it, and I'll start doing the same. I don't like waiting for queues either.