Support inline credentials and useragent changes for web stub