Hi!
We’ve managed to resolve the issue, just adding the resolution here for reference should anyone else bump into this.
The problem was that somehow email authentication connection settings corrupted, which broke the frontend when it tried to load passwordless settings.
The resolution was to check the connections through the Management REST API and remove the “email” one by ID.
Once that was done, the settings dialog worked again.