security: In SelfVerifyPolicyManager for Python 2 need to convert the signed input to str.