Fix the ManagedRepositoryTest integration test setup

The `ManagedRepositoryTest` in `OmeroJava` should now pass better with `./build-py test-fs` than it did, though there are still problems. For testing it may help to have #1141 merged in.