fix issue #86 by adding a 'credentials' option in config.json