Use the signature_method param

Was always defaulting to SHA1 here, even when set to another method