Try this:
File: /upload/scp/login.php
Replace:
<USERMENTION username="header">@header</USERMENTION>("Location: $dest");
require('index.php'); //Just incase header is messed up.
exit;
With:
header('Location: http://www.yoursite.com/directory/upload/scp/tickets.php');
exit();
Replace 'http://www.yoursite.com/directory/' with your link information.
Clear everything before trying to login, cookies, sessions, etc. Let us know if it errors or if it works.