Fixes bash syntax error
Installs apache2-tools if needed in order to get htpasswd functionality