Put private key in local storage.