Fixed htpasswd tests
Fixed #46