Web tests fix for membership.
Merge pull request #4131 from rohankatkar/webtest

Web tests fix for membership.