Hmm, that is odd. That login stuff looks correct to me.
The code you pasted however, is what you should have on a protected page, not the login page, as it would require that you are logged in before continuing, and would always end you to your failed page.
At the top of the login page you should have something like this
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
The error is being triggered in test_hilsborough25.php, saying that
Access denied for user 'joseph'@'boscgi1903.eigbox.net'
That means it connected to the mysql server OK, but either your database username, or database password is incorrect.
I would recommend contacting your host, and finding out why. Perhaps there is a different username or password that you should be using.