Merge pull request #9 from jakubjosef/master

Make user api token optional.
diff --git a/jenkins/files/config.xml.user b/jenkins/files/config.xml.user
index aca8b2b..1cb5ff2 100644
--- a/jenkins/files/config.xml.user
+++ b/jenkins/files/config.xml.user
@@ -6,9 +6,11 @@
     <hudson.model.PaneStatusProperties>
       <collapsed/>
     </hudson.model.PaneStatusProperties>
+    {%- if user.api_token is defined %}
     <jenkins.security.ApiTokenProperty>
       <apiToken>{{ user.api_token }}</apiToken>
     </jenkins.security.ApiTokenProperty>
+    {%- endif %}
     <com.cloudbees.plugins.credentials.UserCredentialsProvider_-UserCredentialsProperty plugin="credentials@1.9.4">
       <domainCredentialsMap class="hudson.util.CopyOnWriteMap$Hash"/>
     </com.cloudbees.plugins.credentials.UserCredentialsProvider_-UserCredentialsProperty>