Everything seems to work but when I logout in Frigate I am always automatically logged in again as anonymous, even I created 2 users.
you need to use the authenticated port to require authentication, this is covered in the docs Authentication | Frigate