As you correctly noted, in the current version of Vaadin, the possibilities for customizing the login form are limited. The only way to customize the login form now is to extend the existing implementation.
The February feature release will contain at least Vaadin 24.3.2. This way you can take advantage of the functionality of the custom area in the login form.