Fix database.yml environment variables.