Well… if you had to use something like this, you used the component in an unintended way.
You might wanna try to extend from e.g. div or any other component as root for your view, add your environment information there and populate the login overlay on top of that, but extending the overlay like this won’t work.
The overlay shown in the browser is not the element you are accessing here. Most overlaying components in Vaadin (for instance the dialog, the combobox dropdown, etc) create an additional element on the client side, that is then attached to the document body without any knowledge about it on the server side.
I assume the easiest solution for your use case would be to let your LoginView extend the VerticalLayout instead. Add your banner as the first component with Alignment END and then add the normal LoginForm as 2nd component with a flex grow of 1.
You don’t need to use the LoginOverlay as your use case is different from the intentional use case of that component. Normally you use the overlay variant, if you already have some content in the background and just want to slide the overlay into the workflow of the page.
But since you show a real login page, the LoginForm is the intended component to use here.