Fix for password sometimes being reset and breaking the tests.

FIx for running test when no members in the group.