Fixed minor bug (discovered while repurposing the signing part of your code)

Bug in array_intersect_key call, I'm sure you intended to extract from the _signing_params array the values that also appear in the array returned from the function get_defaults, as opposed to the other way around (which would conceptually make no sense, despite working)