Fix dtor names, empty if block

Latest build of Vala catches these.  if block is a logic change, but
harmless as (a) it fixes a bug that (b) is never exercised by the
application, as it does not logout of IMAP sessions.