Programmatically check for type of Authentication.
Two-Factor Authentication
Pattern word