Jersey RestAPI: third batch of fixes

- fixed image resource redirect