Hey Martina,
What you can do is, you can use a nanoflow on the sign in button. as soon as the user enters sign in, check the password if it is correct, let him login and if it is incorrect, you can set the password text box as empty and show the user that the password is incorrect.
Hope it helps!