Merge r108 from Mimikatz source
Merge r109 from the Mimikatz source
Merged r110 from Mimikatz source
Merged r111 from Mimikatz source
Missed small case when merging r109 (the important one!)