Make pagination test more robust

Try a couple of times (up to 5) before failing the test.
This should make this integ test more robust.
Merge branch 's3-integ-page' into develop

* s3-integ-page:
  Make pagination test more robust