Implement initial MFA / Device Registration / Application Disabled support. Added further debugging.