Thanks @James_Kovacs for the quick reply. The important key info was that there are TXT records overriding the settings. Nowhere did I stumble over that information and I could have looked endlessly for issues that are not visible.

Adding the authSource property to the connection string fixed it. I reverted the changes of manually building the settings as there’s also some blackbox logic with the DNS resolving going on that does work with X509 but fails then with password auth.

I do not have the time at the moment to isolate that issue. If I find time I can create a ticket though.

Thanks
Manuel