login dialog works fine with server