Modifications to generate a valid Auth Response and validate the Response