Login works cleanly now, titlebar shows profile link if logged in, else "login/register".