Fixed login/session issue when session.name is not default in php.ini

http://www.php.net/manual/en/session.configuration.php#ini.session.name