Revert "LPS-35724 Remove getSecurePassword methods. Everything should always be secure.  There is no need to deprecate since it never made it to a GA release."

This reverts commit c66173a21765ab722daf682bf76362363ab9850b.