NPE when using MockMvc

Did anybody try to use MockMvc in a Vaadin Project with Security configuration?

This leads to a NPE:
message.txt (14.9 KB)

I can overcome the problem with @AutoConfigureMockMvc(addFilters = false) but is this really the correct configuration?

I think this is fixed in Flow 24.0.4