function getHtpasswds() revised
part (2/2) of bugfix for #1067
- changed line 623 as suggested by d00p