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

If the update fails you might cause a retry loop.  Probably do operationFailed() here.