config: fix config editing data and auth