Fix for #881

Telnet connection is now only opened if a password is set and if there
is an item configured which uses the telnet connect on the standard
port.