Change director url in integration tests

Use IP instead of localhost. On some envrionments localhost
is not resolved as expected.