Web config/perspective logout when gateways are on the same IP

While using Google Chrome, is someone else experiencing logout while navigating between web-gateway configs.

It happends to me while using dockerized setup.

For example, while trying to compare/copy settings between <myIpAdress>:8088/web/config and <myIpAdress>:8089/web/config. I always have to log in again when switching tabs. Then when navigating back I have to log in again.

As a side note: when using perspective, the sessions does not get disconnected, but some buttons (with security) will not work untill I login again

Thank you!

I was thinking that i might have been a bug, which is why I posted this. But that hostfile edit seems sufficient for development purposes.