[IMP] account: converted res_config.py to new API.