fix init error happening when credentials are not present
encrypt provisionPassword