Fixing creating search index with too long values.
randomize oauth service port for tests.