Improve test coverage for oae-rest

api.group.js:

- Upload picture with selectedArea
- Download picture with no size
- Download picture with invalid group ID
- Download picture for group with no picture

api.user.js:

- Download picture with no size
- Download picture with invalid user ID
- Download picture for user with no user

util.js:

- Can we remove followRedirects?