Copy authConfigs on save so data is not modified Upstream-commit: 7df6c4b9adaa64d243312f37ed2a6dbe6c897282 Component: engine