Fix secret key generation during deploy.