add test.docker.identity on pom.xml

remove varargs pattern
substitute Context with ProviderMetadata