tests/http_*client_test.cpp should wait for flask to come up

On slow architectures starting flask can take a while, the test inititialization should wait on that.