Here is the line that sends the problem variable:
<form method="POST" action="../main/main_screen.php?auth=login" target="_top" name="login_form">
And here is where it gets in trouble:
if ($GET['auth'] == "login" && isset($POST['authUser']) && isset($POST['authPass']) && isset($POST['authProvider']))
There is, of course, a lot more code involved, but this is where the app bombs out and what it is pointing to when it does.
I'm still trying to absorb some of the other comments. I'm beginning to think this app was written expecting globals to be set on, and I'm in the process of trying to figure out what all I need to do to correct this.