fix mds attribute configuration and unit server registration (work unit type)

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>