My theory is that a two-factors authentication prevent you from getting you spot back in queue. I think that re-entering the 6-digit code regenerate a new credential token that the login server interpret as a new player, henceforth putting you back at the bottom of the queue.

Maybe people that have managed to keep their place in queue can share whether they use a two-factors authentication ?

Personally, I do use the two-factors authentication and have never managed to keep my spot in queue after re-logging, even after re-logging in less than 30sec.