Fix bug of accept content type
Add test case of listing users which has non-ASCII UTF-8 characters

This is the case of #628.
Fix has already been made by the commit d742add8cc6030aaeaec72c334236dcb7d9e91c1