Use the right environment variable name.
Confusingly, conf.db_passwd needs to contain the KCD root password and not the database password. This introduced a bug which made it impossible to download files from the KWMO.