modified haproxy failure test to handle first request failure after haproxy switchover

Change-Id: I891061a15d6bb3fe9102123d198199eb58095c16
Merge "modified haproxy failure test to handle first request failure after haproxy switchover" into R2.0