Get hp working

this patch adds code required to make things more robust and reintroduce support for running acceptance tests on hp cloud