[shared] Fix remediation script for 'Set Deny For Failed Password Attempts' issue wrt to
         problems noted in issue #304.