correctly parse password from database.yml