Return a non http 200 for failed login attempts

Hi I’m trying to use HA with a fail2ban like solution, but for it to work i need failed login attempts to return something different than 200 maybe 401, is it possible to change the http status code for failed login attempts in HA?

I have found the following:

But it seems to been have abandoned and locked? Any chance the pr could be reopened and merged?

@balloob Do you have any idea why it never got merged? (did you find a alternative solution?)