lib-master: Fixed checking if login connection was already closed.
lib-master: Fixed checking if login connection was already closed.

--HG--
branch : HEAD

dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot