Fixed flakey TestAPIServerCanListenOnBothIPv4AndIPv6

Test worked with a fixed port which from time to time lead to an error with an alreay used address.