text: Title: Requests exception: too many redirects
  Body: **Describe the issue**:
  
  running the following example experiment: 
  `nnictl create --config .\nni\examples\trials\mnist-pytorch\config_windows.yml`
  
  getting this error:
  
  [2023-08-18 10:22:56] Creating experiment, Experiment ID: nu5kfm0o
  [2023-08-18 10:22:56] Starting web server...
  [2023-08-18 10:22:59] WARNING: Timeout, retry...
  [2023-08-18 10:23:01] WARNING: Timeout, retry...
  [2023-08-18 10:23:02] ERROR: Create experiment failed
  Traceback (most recent call last):
    File "C:\Users\alzeinha\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "C:\Users\alzeinha\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "C:\Users\alzeinha\BNext_PyTorch\torch_venv\Scripts\nnictl.exe\__main__.py", line 7, in <module>
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\tools\nnictl\nnictl.py", line 503, in parse_args
      args.func(args)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\tools\nnictl\launcher.py", line 91, in create_experiment
      exp.start(port, debug, RunMode.Detach)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\experiment\experiment.py", line 135, in start
      self._start_impl(port, debug, run_mode, None, [])
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\experiment\experiment.py", line 103, in _start_impl
      self._proc = launcher.start_experiment(self._action, self.id, config, port, debug, run_mode,
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\experiment\launcher.py", line 148, in start_experiment
      raise e
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\experiment\launcher.py", line 126, in start_experiment
      _check_rest_server(port, url_prefix=url_prefix)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\experiment\launcher.py", line 196, in _check_rest_server
      rest.get(port, '/check-status', url_prefix)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\experiment\rest.py", line 43, in get
      return request('get', port, api, prefix=prefix)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\nni\experiment\rest.py", line 31, in request
      resp = requests.request(method, url, timeout=timeout)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\requests\api.py", line 59, in request
      return session.request(method=method, url=url, **kwargs)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\requests\sessions.py", line 589, in request
      resp = self.send(prep, **send_kwargs)
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\requests\sessions.py", line 725, in send
      history = [resp for resp in gen]
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\requests\sessions.py", line 725, in <listcomp>
      history = [resp for resp in gen]
    File "c:\users\alzeinha\bnext_pytorch\torch_venv\lib\site-packages\requests\sessions.py", line 191, in resolve_redirects
      raise TooManyRedirects(
  requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
  
  
  **Environment**:
  - NNI version: 1.5
  - Training service (local|remote|pai|aml|etc): local
  - Client OS: windows 10
  - Python version: 3.8
  
  
  **Log message**:
   - nnimanager.log:
   `[2023-08-18 10:22:56] INFO (main) Start NNI manager
  [2023-08-18 10:22:57] INFO (NNIDataStore) Datastore initialization done
  [2023-08-18 10:22:57] INFO (RestServer) Starting REST server at port 8080, URL prefix: "/"
  [2023-08-18 10:22:57] WARNING (NNITensorboardManager) Tensorboard may not installed, if you want to use tensorboard, please check if tensorboard installed.
  [2023-08-18 10:22:57] INFO (RestServer) REST server started.
  `