Set SG quota for specific project.

project_id was initialized too early.
It was None. The same for tenant_id.
That's why unlimited SG quota was set for
"some default project".
But the project in test had default quota(10).
If test class created more 10 SG then arised exception
"OverQuota".
Also SG quota for default project was reset to default value in cleanup.
It could harm another tests which were launched in parallel.

Closes-Bug: 1895876
Closes-Bug: 1810963
Change-Id: If7f3789b2791be08088588619f3a1629aeecbda4
diff --git a/neutron_tempest_plugin/scenario/test_security_groups.py b/neutron_tempest_plugin/scenario/test_security_groups.py
index 40aa66a..f47ce44 100644
--- a/neutron_tempest_plugin/scenario/test_security_groups.py
+++ b/neutron_tempest_plugin/scenario/test_security_groups.py
@@ -71,10 +71,14 @@
     @classmethod
     def setup_credentials(cls):
         super(NetworkSecGroupTest, cls).setup_credentials()
-        cls.project_id = cls.os_primary.credentials.tenant_id
         cls.network_client = cls.os_admin.network_client
 
     @classmethod
+    def setup_clients(cls):
+        super(NetworkSecGroupTest, cls).setup_clients()
+        cls.project_id = cls.os_primary.credentials.tenant_id
+
+    @classmethod
     def resource_setup(cls):
         super(NetworkSecGroupTest, cls).resource_setup()
         # setup basic topology for servers we can log into it