Fix rest api membership tests to use login field