Internal Server Error for j_security_check post request.
Hi guys, I'm using AEM 6.4 in which I've set up a login page. On the server we have a dispatcher configured and I confirm that without the dispatcher everything it's working alright. When I'm doing that post request to the j_security_check I get as a response an Internal Server Error.

I'm out of ideas with this. I mention, if I make the request bypassing the dispatcher, everything works.
I've also set the
/0099 { /type "allow" /global "*j_security_check*" }