Fix failing tests (seen in jenkins)

- EntityExecutionManagerTest.testGetTasksAndGcBoringTags
- LocalhostMachineProvisioningLocationTest.obtainTwoAddressesInRangeThenDontObtain
- LocalhostMachineProvisioningLocationTest.obtainPortFailsIfInUse
- ApplicationResourceTest.testDeployApplication