fixed login/logout/register links; fixed install redirecting to registration when complete and using Basic auth.