Fixes to htpassword setup and service startup.