web: Reload Cockpit when logging out, and go back to login page

Fixes #512