It is not a glitch, you cannot go through the door, if you see that happen, or don't see the char at all, all you have to do is click on the door and it opens automatically.
It depends on the range you have set for your client, and whether or not you were close enough to the gate to actually see it open.
Hope everything is clear.