https://blogs.technet.microsoft.com/nexthop/2018/04/09/sfb-online-client-sign-in-and-authentication-deep-dive-part-1/