Fix url_name_args problems in user and group views. Add tests.