Small bug fix and test for the API endpoint listing user's issues
We were adding the `author` filter after we had copied the dict of
parameters which meant that filter wasn't being applied.
This is now fixed.
This commit also adds some tests for this API endpoint (which lead to the
discovery of the above mentioned bug).
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>