Can you please open a debug window using:

/debug -p @debugwindow

and try to connect after that.

Look at the first few lines in this window to see what kind of commands are sent to the server.

And do you have any "on *:LOGON:" event in any of your loaded script files?