Password managers can catch this case by not autofilling, hinting the user to take a step back and pay attention.