Update src/main/xquery/lib/lib-app-server.xqy

Save the config after setting default user.