Add method in login class to check if TFA is enabled if user is unlogged
Merge pull request #2524 from xillibit/k31_bugs3

Add method in login class to check if TFA is enabled if user is unlogged