Servlet filters changes in Jira 10?

Hi,

We have a plugin that includes a servlet filter. Currently it is running in Jira 9.12 and is configured in ‘atlassian-plugin.xml’ as (with specific names removed):

    <servlet-filter name="My Login Servlet Filter" key="my-login-servlet-filter" class="com.mycompany.jira.plugins.login.MyLoginServletFilter"
        location="before-login" weight="90">
        <description key="my-login-servlet-filter.description">Servlet filter description.</description>
        <url-pattern>/login.jsp</url-pattern>
    </servlet-filter>

It allows us to modify certain aspects of users login process.
I’m trying to update the plugin for Jira 10.3, and it doesn’t seem to be working. Based on what I see, the servlet filter is not invoked at all.
The “new login experience” with 2FA is disabled with
-Datlassian.authentication.legacy.mode=true
I suspect, something has changed with filters registration, but can’t find any info in upgrade notes.

Could someone please point me in the right direction?

Nevermind, just needed the @UnrestrictedAccess annotation.