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

The 'serviceAuthentication' parameter no longer exists.