Fix 401 Unauthorized race
Fix 401 Unauthorized race

This fixes an apparent race condition.  When using this module to
configure Keycloak 3.1.0, my puppet runs were previously failing about
50% of the time.

eg
```
Error: /Stage[main]/Main/Wildfly::Resource[/socket-binding-group=standard-sockets/socket-binding=proxy-https]/Wildfly_resource[/socket-binding-group=standard-sockets/socket-binding=proxy-https]: Could not evaluate: 757: unexpected token at '<html><head><title>Error</title></head><body>401 - Unauthorized</body></html>'
```

mtdjr/biemond-wildfly,biemond/biemond-wildfly,biemond/biemond-wildfly,mtdjr/biemond-wildfly