Also I am able to see it tries to authenticate without error in the logs
2024-11-04 05:43:46,081 [Thread-2748] INFO ScriptBasedAuthenticationMethodType - Loaded script:MyScript
2024-11-04 05:48:33,409 [ZAP-IO-Server-1-169] INFO User - Authenticating user: **MYEMAIL**
2024-11-04 05:58:49,038 [ZAP-AjaxSpider] INFO SpiderThread - Running Crawljax (with firefox-headless): Context: POST:sign_in()(authenticity_token,commit,user[email],user[password])
2024-11-04 05:58:49,041 [ZAP-AjaxSpider] INFO SpiderThread - Starting proxy...
2024-11-04 05:58:49,048 [ZAP-AjaxSpider] INFO SpiderThread - Proxy started, listening at port [62521].
2024-11-04 05:58:49,082 [ZAP-AjaxSpider] INFO Plugins - Loaded org.zaproxy.zap.extension.spiderAjax.SpiderThread$DummyPlugin@722d65cd as a OnBrowserCreatedPlugin
2024-11-04 05:59:24,739 [ZAP-AjaxSpider] INFO CrawlController - Received shutdown notice. Reason is Exausted
2024-11-04 05:59:25,407 [ZAP-AjaxSpider] INFO CrawlController - Shutdown process complete