updated medcli/medsrv plugins to use new auth_cfg API, fixes compilation