Fixed creation of id for registration invitation. new Guid() creates empty guid, not like in java random one.