When you connect to the server and the "Logging in" shows up then fades away, you're in a "ghost queue." The "ghost queue" is the same as normal queue, except you can't see the queue time/login status. Just give it time.
However you say it is there for hours on end, which seems weird. Have you tried restarting your internet before hand at all?