Move out htpasswd functions into webutil module
Merge pull request #8124 from techhat/webutils

Move out htpasswd functions into webutil module