fix missing team_id in $_SESSION on reset pass and common.php.

Also, the menu is removed when no one is logged in.