Unfortunately there’s no way to recover the password and/or secure messages without clearing the data of the app and starting fresh with all your messages. You can try reaching out to HTC to see if they have a solution. However, I am doubtful that they do.