added metadata support for client auth clinet