I’m not sure if this is a bug exactly, but the server will wait until AFTER you’ve gone through the server queue to see if your login information is valid. It makes much more sense for it to be checked before making you wait to get into the server.
I agree with you, that logic is wrong… if you type the wrong password, you have to wait a year to be able to wait a year again…