Declare some global variables
Support updated login and ideal pages
An extra wrapper/shadowroot was introduced around the input fields.
While setting the value of the wrappers would be shown on display, the
input event would be triggered on the wrong element, so no QR-code would
be generated.
Bump version to 2.2.8 and update changelog