Allow customizing DeploymentConfiguration for test UIs (#14215)

Change-Id: I4a9db58e65b94ec0e46e849e6856817986bd750e