Issue After requesting only authenticated users

Hello,

after limiting access to pages only to authenticated users, I am not able access the application.
first my load balancer requires an endpoint and everything retunrs 401 now.
second, event accessing the login page returns 401:
# curl -ILv http://10.107.128.131:8080/bin/login/XWiki/XWikiLogin
* Trying 10.107.128.131:8080…
* TCP_NODELAY set
* Connected to 10.107.128.131 (10.107.128.131) port 8080 (#0)
> HEAD /bin/login/XWiki/XWikiLogin HTTP/1.1
> Host: 10.107.128.131:8080
> User-Agent: curl/7.68.0
> Accept: /
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 401
HTTP/1.1 401

How did you limit the access?