smarthttp: Unflake upload-pack test
We identified test case TestServer_PostUploadPackWithBundleURI acts flaky.
Refactor this test to fix the flaky failure and add a number of extra test cases.
Issue: #5725 (closed) Label: bug::transient
Edited by Toon Claes