fix accounts/ urls and pytests