Adding the red border to the password field when the password is invalid