DCD gets "401 Unauthorized" for url http://localhost:5001/mysite/check_mk/api/1.0/domain-types/host_config/collections/all

I have exactly the same problem after changing user so it will stop complaining i am getting

12:57:58 ERROR An exception occured
Traceback (most recent call last):
  File "/omd/sites/mysite/lib/python3/cmk/cee/dcd/connectors/piggyback.py", line 229, in _execute_phase2
    cmk_hosts = self._web_api.get_all_hosts()
  File "/omd/sites/mysite/lib/python3/cmk/cee/dcd/web_api.py", line 224, in get_all_hosts
    resp = self._session.get("/domain-types/host_config/collections/all")
  File "/omd/sites/mysite/lib/python3.9/site-packages/requests/sessions.py", line 600, in get
    return self.request("GET", url, **kwargs)
  File "/omd/sites/stepit/lib/python3/cmk/cee/dcd/web_api.py", line 142, in request
    raise MKAPIError(f"{response.text} (URL: {url})")
cmk.cee.dcd.web_api.MKAPIError: {"title": "You need to be authenticated to use the REST API.", "status": 401} (URL: http://localhost:5000/mysite/check_mk/api/1.0/domain-types/host_config/collections/all)

Can someone help ?