Fixed bug where chat messages were signed with the wrong key.