temporary hack: ignore login widget height when resizing

this hack fixes ticket #4664, but introduces another bug:
The login window can now be resized arbitrarily to 0x0.
switch between login and main widget

Instead of stacking widgets, remove and add them when needed.
Fixes problems related to widget height and window resizing.
Merge remote-tracking branch 'origin/4664_xlet_height'