text: Title: Airflow does not handle port properly in cookies when more instances opened in one browser
  Body: ### Apache Airflow version
  
  Other Airflow 2 version (please specify below)
  
  ### If "Other Airflow 2 version" selected, which one?
  
  2.10.3
  
  ### What happened?
  
  When we use two airflow instances on different ip / machines we can access them in one browser instance and work with them normally and switch windows with airflows freely without enforced logout.
  
  In the case there are two instances (or more) of airflow running on the same machine / ip but only port differs in one browser instance: When user switches to different airflow instance by tab in web browser he is logged out and when returning back user needs to login again.
  
  For me it seems like port is not part of the key of cookies but machine name is.
  
  ### What you think should happen instead?
  
  We assume the behaviour should be the same no matter if airflow instances are running on same machine or not.
  
  ### How to reproduce
  
  Configure two airflows on one machine but different port (for example http tunnel may be used to emulate it).
  Open an instance in one browser instance a switch between windows.
  
  ### Operating System
  
  Linux
  
  ### Versions of Apache Airflow Providers
  
  _No response_
  
  ### Deployment
  
  Official Apache Airflow Helm Chart
  
  ### Deployment details
  
  _No response_
  
  ### Anything else?
  
  _No response_
  
  ### Are you willing to submit PR?
  
  - [ ] Yes I am willing to submit a PR!
  
  ### Code of Conduct
  
  - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
  