Fix failing tests (from jenkins)

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