Adds support for two-factor authentication