Fix first time registration after bootstrap
Fix first time registration after bootstrap

ARMmbed/mbed-client,ARMmbed/mbed-client,tridonic-com/mbed-client,tridonic-com/mbed-client,tridonic-com/mbed-client,ARMmbed/mbed-client