The cluster security password does not need to match what you used when you installed the server again and what is in the restore .tar file. What does need to match though is the hostname and IP address exactly as it is in the .tar file and the new rebuild. Double check those.
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...
The below trick might come handy when you have to add a new node to a cluster but you don't have or is unsure of the security password for the publisher. This procedure has been around for ages.
1) Login into the CLI of the Publisher.