core: add z_msg_v1 definition to enable moving some code from master to here.
mod_admin_identity: let's stop sending the password in clear text.

(cherry picked from commit fed480c401b7ba3afaf52bfdaa18f981829d4977)