[CHANGE] htpasswd needs to be done earlier;

We need to create the htpasswd before calling the check_mk setup.sh. It will fallback to the default location /etc/nagios/ if it doesn't find the file.