Unable to switch accounts—Sign In automatically logs into the previous account

I see. You’re using Discourse id as your authenticator, so you need to log out of that site to log in as a different user. I think I have seen another topic about this.

The easiest way is to impersonate the user by clicking the account on the admin user page.

So visit https://id.discourse.com/ and click the menu to log out there