#867 Fix for simple membership provider tests
Refactoring the fix for simple membership provider tests