The log shows Mailspring reached the server and logged in fine at the network level — the NO [AUTHENTICATIONFAILED] line is the mail server itself saying the username/password pair isn’t right for IMAP. Mailspring can’t get past that; the answer is on the account side, and it’s almost always one of these:
The username format. Many servers want the full address (you@example.com) as the IMAP username, some want only the part before the @. Try the other form; the IMAP and SMTP usernames are separate fields on the settings screen, so make sure you change the IMAP one.
Two-factor auth or “app passwords”. If the account has 2FA, or the provider requires app-specific passwords for mail clients (Yahoo, iCloud, FastMail, and others), the normal web password is rejected and you need to generate an app password: Two-factor authentication and app passwords — Mailspring Documentation
IMAP not enabled. Some providers (GMX, mail.com, Yandex, some ISPs) require you to switch on IMAP access in their web settings before any client can log in.
If none of those apply, the quickest way to prove it is to try the same host/username/password in another IMAP client — if it fails there too, it’s the credentials or the server, not Mailspring.