Add automatic replacement of secret token on cap deploy.
Merge branch 'master' into configuration-in-database