Prefer plain LOGIN if it's enabled and we're using an encrypted connection.