Unifi integration login issue

I have Unifi Network Application running on the same RPi. I had this working before although I have MQTT as well (they changed the port in new versions. I had no issues.

I get this error despite the fact that I have created a local user without 2FA

2024-07-07 00:18:04.553 ERROR (MainThread) [aiounifi.interfaces.connectivity] Login failed '{'meta': {'rc': 'error', 'msg': 'api.err.Ubic2faTokenRequired'}, 'data': [{'default_mfa': '02bf1dc7-c7cf-4c5f-87b3-3d4104885a5f', 'mfa_cookie': 'fjIwMjIwNjA3fGFwUnF5******bUM4ck9FV2tkZnNwalZSZ2pIaERZPQ==', 'authenticators': [{'id': '02bf1dc7****-3d4104885a5f', 'type': 'totp', 'status': 'active', 'name': 'Authenticator app'}, {'id': '339e612b*****5adae394', 'type': 'email', 'status': 'active', 'email': 'ha········[email protected]'}]}]}'

2024-07-07 00:18:04.554 ERROR (MainThread) [homeassistant.components.unifi] Unknown UniFi Network communication error occurred:

File "/usr/src/homeassistant/homeassistant/components/unifi/hub/api.py", line 58, in get_unifi_api

File "/usr/local/lib/python3.12/site-packages/aiounifi/controller.py", line 61, in login

File "/usr/local/lib/python3.12/site-packages/aiounifi/interfaces/connectivity.py", line 78, in login

raise ERRORS.get(data["meta"]["msg"], AiounifiException)

aiounifi.errors.TwoFaTokenRequired