Fix SMTP auth login username base64 encoding and clazy warning.
Auto deduces buf to be QStringBuilder. This breaks base64 encoding of the username, which makes auth login fail.
This also fixes a clazy warning: auto-unexpected-qstringbuilder.
Thanks to Marcel Bosling for finding the issue, and providing this patch.
BUG: 428078