WaitforQualityGate not working with authentication in Jenkins

A post was split to a new topic: WaitforQualityGate problem