This commit adds a test to retrieving auth configurations, use either the auth block in the config or specified via the agent config and adds a log if lookup fails.
- Java example from @catsby