ws: Show a login page for any .html resource being accessed

For other resources besides the main page, show a login page if user
doesn't have a cookie.

One big difference, we now refresh the page after completing a
sucessful login.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
static: Change the styles of login page when shown inline

When not logging into cockpit as a whole, just show a basic login
screen on a white background. This will help not confuse users as
to what they're logging into.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
tools: Ignore another glib leak

Closes #1335
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>