instead of autoloading (which leads to api errors in the admin interface)
we load it instantly only in the quarantineview
(we load it anyway in the admin interface when selecting an email)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this changes the login/logout/cookie behaviour
if you go to /quarantine
you get to the loginview
except you have a valid cookie
or you have a ticket via url (this takes precedence)
when you have a valid login
you go to the quarantineview
else if you have not a quarantine ticket
you get to the mainview
else
you get to the loginview
also adds a logout button to the quarantineview
and moves the viewchange/logout logic to the Application.js
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>