Add support for HTTP authentication. And more informative.
switch from error to switch
Land #4124, @wchen-r7 fixes #4115 adding HTTP auth support to iis_webdav_upload_asp