Fix failing e2e test
E2e tests are failing because we start them before the server is running.