Use a random UI port during tests

so as to avoid all the conflicts there are.