Fix app init to read upload_folder from settings.