Enabling two-factor authentication