Revert "Update for changes taken in from changing string to secret for password"

This reverts commit d4d7dfff9b079a9126425c13961c0f41dcd8a5f6.
Update constructor