fixed the authentication problems in telnet capability