fix(error): add check for htpasswd file