The idea is that the user will start typing the user or password again to, say, provide a valid user name (if that was the error message displayed), so the error message should be hidden since it's not valid anymore.