Fix some issues with API test of exporting members view
Fix some issues with API test of exporting members view

* Remove redundant imports
* Fix indents to comply w/ PEP8
* Switch urlencode with proper use of self.client.get

pbanaszkiewicz/amy,vahtras/amy,pbanaszkiewicz/amy,swcarpentry/amy,swcarpentry/amy,vahtras/amy,vahtras/amy,swcarpentry/amy,pbanaszkiewicz/amy