Here is a combined (fix+tests) against master. If this patch is ok, I'll also create the necessary backport patches.
The only outstanding question I have is the unittests. The test I write counts the number of authorize calls. It fails on master and passes here, but I'm not sure if there is a better way to check the functionality instead of just a call count.
You can apply the patch with `git apply fixver.patch`
Here is a combined (fix+tests) against master. If this patch is ok, I'll also create the necessary backport patches.
The only outstanding question I have is the unittests. The test I write counts the number of authorize calls. It fails on master and passes here, but I'm not sure if there is a better way to check the functionality instead of just a call count.
You can apply the patch with `git apply fixver.patch`