Make signed request tests pass on Python 3.