Patch two-factor verification in the unit tests