Check for required signature and signed_field_names in valid? method. 

The valid? method requires params to have signature and signed_field_names. The method should return false if these values are not present.