As Knut explains above, _samesite_setcookie() is not a function. However looking at the code it appears that samesite_setcookie() is the function. When changing _samesite_setcookie() to samesite_setcookie() it does not let your proceed/login once typing in the username, password and hitting submit.