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.