Group nodes with the same password