[qmf] Introduce discovery of authentication from the anounced capabilities(IMAP/SMTP)

'const QString &password' perhaps.