Login page, Email/Password validation


We are using different database with “Use my own database” option with script for login action.

The problem is, when we are trying to login it looks like on login page Email Input is not validating at all.
Example of issue:

Expected result (as in our other application where we are using default Username-Password-Authentication db without own db option):

Login action script:
We are sending request to our API and providing email/password data.

In case of 404 error:

So we set random email and password in inputs and trying to login, we receive 404, password input is highlighted and we see message “Wrong email or password”, however Email input is not highlighted too.
Not sure, that it is something that can be fixed on our side.
Could you help us with this problem, please?

Thanks in advance