Use native dialog box for credentials
Dynamically link to CredUI.dll for the application to run in both Windows XP and Windows Vista+.