You got a -4004.
First of all it means that the communication works (no xserver issue) and the credentials are right.
You are logged in to the databse. Otherwise you will got -4008 unknown user name password combination or somthing else.
Did you have tried to delete and recreate this Login? It could be that an inconsistenr state is stored.
Burkhard