To resolve this issue you should update lines 39 & 40 to be like this:
<form action="<?php echo ($_SERVER["PHP_SELF"].(isset($_SERVER["QUERY_STRING"])?"?".htmlentities($_SERVER["QUERY_STRING"]):""));?>" method="post" name="WAATKLogInForm" id="WAATKLogInForm">
Was the page created like this from the wizard or were there any modifications that were made to the pages after the fact. Please post back with as much detail as you can about the steps you took that got to this result.