Fix auto-type for passwords with backslashes