Link mentioned in RestrictedRoutes not accessible

After upgrading to the new stable 2022.1 the link mentioned in the RestrictedRoutes in appsettings.json ends with 401 Unauthorized.

Which sounds ok if you are not logged in.

The problem is that I am logged in.