Service tests get settings from environment variables

Change-Id: Id450e476815dffcf6c3ed34f46145fe6aabf2994
Merge "Service tests get settings from environment variables" into stable/4.1