[CONTINUUM-1981] Error while using Windows domain in username when adding a M2 project Submitted by George Gastaldi (applied with minor change)