Revert "rest: remove share key"

This reverts commit 0182c0228661e242c70a0a9fdb15ffe416d29db3.
Revert "rest: add reset shared secret form"

This reverts commit 42cfbac9401cac27d7dbbe3564d11dacd203368a.