Handle manually mandatory field

wsme have a couple of bugs:
 https://bugs.launchpad.net/wsme/+bug/1227004
 https://bugs.launchpad.net/wsme/+bug/1227039

This patch workaround these bugs by doing input validation manually

Change-Id: Id16655ce4c5546b1caededad70a6b9a238e4be20