It's because this code is executed on init on https://wpc.gcsip.com/wpc/wpc page
// check that this page is not in a subwindow (e.g. after a session time out)
if ( window.opener ) {
window.opener.location = "wpc";
window.opener.focus();
window.close();
}