From Cheogram Android at commit ad98a0ce42b7288ebc7de3bbd49b5d53d988bc9e in an Android 17 emulator, logging in to a hosted Snikket instance has <failure><malformed-request/></failure> then login failure SASL_2 in the logs with red Unauthorized text below the JID/password entry fields.
Device created with
avdmanager create avd -n pixel9_api37 -k "system-images;android-37.0;google_apis;x86_64" -d pixel_9
This is something I’m experiencing, so if not-me looks into this, I’m happy to help however.