Error "Access to this server is not granted to user"

Hello,

I need to use two different tenants with two different users. As an example, let's say they are:
Tenant A --> User A
Tenant B --> User B

When logged in Tenant A with User A, opening applications such as Manufacturing Context Builder works properly opening it using user A.

When logged in Tenant B with User B, opening applications such as Manufacturing Context Builder doesn't work and the system seems still logged with User A, leading to the error shown below.

How can I fix it?