EZP-21213: Fixed LegacyPathGenerator test
EZP-21213: Fixed API ImageIntegrationTest

Test content is created without a Location. This
patch makes sure we don't have a double slash
in the image path.

How images in Content without a Location should
be named might have to be specified.