Part of #27065 --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Before, the SSPI auth is only complied for Windows, it's difficult to test and it breaks a lot. Now, make the SSPI auth mockable and testable.