Added auth requirement on all endpoints.
Added SignIn-, Access- and Refresh-Tokens based on JWT.
Upgraded stored password to be based on PBKDF2.
Added default password assignment.
Updated logic to support auth-header and re-sign-in for tray-icon and web-ui.
Re-implemented everything using ASP.NET.
Changed some requests to use JSON instead of FORM data.
Some work towards deleting the FIXMEGlobal instance.
Auth is missing, XSRF does not work correctly.
Also added support for restoring from an exported configuration file, by loading the values into the restore-direct view.
This adds support for importing a configuration file stored on a remote destination as mentioned in #2282.
This fixes#2321
This fixes#1311