Added some necessary session vars to init.php.