Vaadin 14 @Route annotated views are instantiated before the BeforeEnterLis

I was under the impression that views should not be constructed before the Login event occurs.

I am starting migrating from vaadin 8 straight to vaadin 14 rc4. I am not using CDI yet. Is this a bug or something is not properly configured? This happens in the beverage UI plain java starter.

The views are thus instantiated twice. Its the second instance the one that gets attached to the UI.

https://stackoverflow.com/q/56974528/39998