diff --git a/resources/templates/provision/cisco/spa112/{$mac}.xml b/resources/templates/provision/cisco/spa112/{$mac}.xml
index 26e71a3666..7711263bd3 100644
--- a/resources/templates/provision/cisco/spa112/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa112/{$mac}.xml
@@ -11,7 +11,11 @@
14400
Yes
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
Yes
0.020
Yes
diff --git a/resources/templates/provision/cisco/spa122/{$mac}.xml b/resources/templates/provision/cisco/spa122/{$mac}.xml
index 66e1bd11b4..084fa95f41 100644
--- a/resources/templates/provision/cisco/spa122/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa122/{$mac}.xml
@@ -21,7 +21,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa301/{$mac}.xml b/resources/templates/provision/cisco/spa301/{$mac}.xml
index 8ae1d52255..dd5df2656e 100644
--- a/resources/templates/provision/cisco/spa301/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa301/{$mac}.xml
@@ -178,7 +178,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa303/{$mac}.xml b/resources/templates/provision/cisco/spa303/{$mac}.xml
index 38908670e3..70258c32ba 100644
--- a/resources/templates/provision/cisco/spa303/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa303/{$mac}.xml
@@ -62,7 +62,11 @@
Yes
-http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
+http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa501g/{$mac}.xml b/resources/templates/provision/cisco/spa501g/{$mac}.xml
index c50110fbb6..55b4887d85 100644
--- a/resources/templates/provision/cisco/spa501g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa501g/{$mac}.xml
@@ -182,7 +182,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa502g/{$mac}.xml b/resources/templates/provision/cisco/spa502g/{$mac}.xml
index e6278457fd..3fae57f7c6 100644
--- a/resources/templates/provision/cisco/spa502g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa502g/{$mac}.xml
@@ -184,7 +184,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa504g/{$mac}.xml b/resources/templates/provision/cisco/spa504g/{$mac}.xml
index cba1be1c58..6e4772f61d 100644
--- a/resources/templates/provision/cisco/spa504g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa504g/{$mac}.xml
@@ -129,7 +129,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa508g/{$mac}.xml b/resources/templates/provision/cisco/spa508g/{$mac}.xml
index da16a8809c..d4f1f0c6b0 100644
--- a/resources/templates/provision/cisco/spa508g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa508g/{$mac}.xml
@@ -184,7 +184,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa509g/{$mac}.xml b/resources/templates/provision/cisco/spa509g/{$mac}.xml
index d7cf81c49a..89316e8b50 100644
--- a/resources/templates/provision/cisco/spa509g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa509g/{$mac}.xml
@@ -185,7 +185,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa512g/{$mac}.xml b/resources/templates/provision/cisco/spa512g/{$mac}.xml
index e2fca1853b..e08c4d0154 100644
--- a/resources/templates/provision/cisco/spa512g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa512g/{$mac}.xml
@@ -184,7 +184,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa514g/{$mac}.xml b/resources/templates/provision/cisco/spa514g/{$mac}.xml
index 1c84d70a9f..8edc52241c 100644
--- a/resources/templates/provision/cisco/spa514g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa514g/{$mac}.xml
@@ -85,7 +85,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}
diff --git a/resources/templates/provision/cisco/spa525g/{$mac}.xml b/resources/templates/provision/cisco/spa525g/{$mac}.xml
index 65495c6cca..6b30eaf47b 100644
--- a/resources/templates/provision/cisco/spa525g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa525g/{$mac}.xml
@@ -62,7 +62,11 @@
Yes
+{if isset ($http_auth_username)}
+[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/else}
http://{$domain_name}{$project_path}/app/provision/?mac=$MA
+{/if}