add more tests for credentials support
add credentials support for WebUserAgent
the content value for each return type should be a scalar ref