Can I get FTP access and a url to test live?
Try removing this line (106):
$Authenticate->addFilter("persSeq", "=", "i", "".($rs_allMembers->getColumnVal("persSeq")) ."");
I'm not sure your intention for this line, but it means simply having the username and password correct, wouldn't necessary allow you to log in.