testbase: Add some code to set an autologin session
smoketest: Smoketest Classic Mode and Wayland