Strapi /auth/local api throws 500 error for wrong password or email not confirmed

Same issue.