Add a 2-factor authentication option to the local authentication provider.