Update
If I manually define loginFormSction with this
$loginFormAction="index.php"
I then get the error
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/index.php:1) in /home/xxxxxx/public_html/webassist/security_assist/helper_php.php on line 62