On the login page, the trigger for the login behavior is set to before page load, use any form post instead.
you say:
"My login page is giving an authentication error on lines 24 and 68"
this does not make sense, line 24 of login.php is:
<title>Member Login</title>
and 68, is:
-->
i see no authentication error on login.php?
on the success page, the trigger for the restrict access is set to any form post, it should use before page load.