Fix TOTP bug when pasting from clipboard with existing content