made it so that oauth groups aren't duplicated, fixed various tests