Handle connect_login return value properly

Some modules ignore connect_login's return value, which may result
an EOF if send_cmd() is used later on.  All the modules fixed are
the ones require auth according to the module description, or
CVE/vendor/OSVDB info.
Missed this one.
Land #1973, @wchen-r7's fix to handle ftp auth correctly