img: Allow SESSION override for health

When using ahc, it could be useful to override the SESSION parameter.