Atlassian Connect Spring Boot upgrade to 4.1.1 results in 401 response for atlassian-connect.json

We are in process of migrating our AC Spring Boot based application (ACSB 2.4.5) to version 4.1.1.

And now our app giving 401 errors for ALL API endpoints. This also includes call to /atlassian-connect.json.
Also atlassian.connect.require-auth-exclude-paths config property seems to be not woking anymore.

Does anyone faced this kind of issues?