Fix a test failure that consent signature is not cleared