[JENKINS-46288] - Fix ProxyConfiguration validation for NTLM authentication (#2984)
[JENKINS-46288] - Fix ProxyConfiguration validation for NTLM authentication (#2984)

/**
     * Constructor.
     * @param userName The user name.  This should not include the domain to authenticate with.
     * For example: "user" is correct whereas "DOMAIN\\user" is not.
     * @param password The password.
     * @param host The host the authentication request is originating from.  Essentially, the
     * computer name for this machine.
     * @param domain The domain to authenticate within.
     */

(cherry picked from commit ccb3e4cd501b14f617979117ea31fc21f07b972b)

dariver/jenkins,Jimilian/jenkins,Jimilian/jenkins,Jimilian/jenkins,escoem/jenkins,viqueen/jenkins,godfath3r/jenkins,recena/jenkins,godfath3r/jenkins,kohsuke/hudson,oleg-nenashev/jenkins,bkmeneguello/jenkins,v1v/jenkins,damianszczepanik/jenkins,bkmeneguello/jenkins,batmat/jenkins,daniel-beck/jenkins,recena/jenkins,daniel-beck/jenkins,ErikVerheul/jenkins,recena/jenkins,rsandell/jenkins,dariver/jenkins,DanielWeber/jenkins,recena/jenkins,aldaris/jenkins,jenkinsci/jenkins,pjanouse/jenkins,damianszczepanik/jenkins,v1v/jenkins,andresrc/jenkins,ikedam/jenkins,DanielWeber/jenkins,v1v/jenkins,DanielWeber/jenkins,oleg-nenashev/jenkins,ErikVerheul/jenkins,ikedam/jenkins,damianszczepanik/jenkins,sathiya-mit/jenkins,Vlatombe/jenkins,recena/jenkins,patbos/jenkins,v1v/jenkins,Jochen-A-Fuerbacher/jenkins,kohsuke/hudson,Jimilian/jenkins,bkmeneguello/jenkins,amuniz/jenkins,pjanouse/jenkins,damianszczepanik/jenkins,kohsuke/hudson,ErikVerheul/jenkins,ikedam/jenkins,patbos/jenkins,batmat/jenkins,godfath3r/jenkins,dariver/jenkins,bkmeneguello/jenkins,escoem/jenkins,andresrc/jenkins,MarkEWaite/jenkins,dariver/jenkins,ErikVerheul/jenkins,batmat/jenkins,daniel-beck/jenkins,DanielWeber/jenkins,jenkinsci/jenkins,batmat/jenkins,escoem/jenkins,jenkinsci/jenkins,oleg-nenashev/jenkins,kohsuke/hudson,Vlatombe/jenkins,andresrc/jenkins,patbos/jenkins,escoem/jenkins,pjanouse/jenkins,damianszczepanik/jenkins,andresrc/jenkins,aldaris/jenkins,Jochen-A-Fuerbacher/jenkins,Vlatombe/jenkins,v1v/jenkins,pjanouse/jenkins,rsandell/jenkins,Vlatombe/jenkins,pjanouse/jenkins,Jochen-A-Fuerbacher/jenkins,amuniz/jenkins,stephenc/jenkins,patbos/jenkins,sathiya-mit/jenkins,sathiya-mit/jenkins,daniel-beck/jenkins,aldaris/jenkins,stephenc/jenkins,DanielWeber/jenkins,daniel-beck/jenkins,escoem/jenkins,ErikVerheul/jenkins,damianszczepanik/jenkins,recena/jenkins,ikedam/jenkins,jenkinsci/jenkins,pjanouse/jenkins,aldaris/jenkins,stephenc/jenkins,patbos/jenkins,viqueen/jenkins,viqueen/jenkins,viqueen/jenkins,stephenc/jenkins,escoem/jenkins,kohsuke/hudson,oleg-nenashev/jenkins,Jochen-A-Fuerbacher/jenkins,viqueen/jenkins,daniel-beck/jenkins,amuniz/jenkins,ikedam/jenkins,MarkEWaite/jenkins,amuniz/jenkins,batmat/jenkins,ikedam/jenkins,stephenc/jenkins,godfath3r/jenkins,kohsuke/hudson,ikedam/jenkins,MarkEWaite/jenkins,oleg-nenashev/jenkins,stephenc/jenkins,daniel-beck/jenkins,sathiya-mit/jenkins,amuniz/jenkins,bkmeneguello/jenkins,jenkinsci/jenkins,damianszczepanik/jenkins,kohsuke/hudson,recena/jenkins,sathiya-mit/jenkins,ErikVerheul/jenkins,sathiya-mit/jenkins,kohsuke/hudson,dariver/jenkins,rsandell/jenkins,MarkEWaite/jenkins,rsandell/jenkins,rsandell/jenkins,daniel-beck/jenkins,Vlatombe/jenkins,MarkEWaite/jenkins,sathiya-mit/jenkins,batmat/jenkins,Jochen-A-Fuerbacher/jenkins,damianszczepanik/jenkins,godfath3r/jenkins,DanielWeber/jenkins,viqueen/jenkins,aldaris/jenkins,MarkEWaite/jenkins,andresrc/jenkins,andresrc/jenkins,MarkEWaite/jenkins,v1v/jenkins,DanielWeber/jenkins,rsandell/jenkins,ikedam/jenkins,bkmeneguello/jenkins,dariver/jenkins,Jochen-A-Fuerbacher/jenkins,pjanouse/jenkins,patbos/jenkins,rsandell/jenkins,aldaris/jenkins,oleg-nenashev/jenkins,andresrc/jenkins,godfath3r/jenkins,ErikVerheul/jenkins,Jochen-A-Fuerbacher/jenkins,jenkinsci/jenkins,v1v/jenkins,amuniz/jenkins,amuniz/jenkins,Jimilian/jenkins,patbos/jenkins,Vlatombe/jenkins,stephenc/jenkins,godfath3r/jenkins,rsandell/jenkins,aldaris/jenkins,dariver/jenkins,escoem/jenkins,Vlatombe/jenkins,batmat/jenkins,jenkinsci/jenkins,viqueen/jenkins,oleg-nenashev/jenkins,bkmeneguello/jenkins,MarkEWaite/jenkins,Jimilian/jenkins,jenkinsci/jenkins,Jimilian/jenkins