Revert password check

Can't check the two secure strings for some reason - reverted to
checking the credential password instead