optional proc for wsse authentication