fix add/delete sliver using inline on slice page
diff --git a/plstackapi/core/api/auth.py b/plstackapi/core/api/auth.py
index 4054da6..412df00 100644
--- a/plstackapi/core/api/auth.py
+++ b/plstackapi/core/api/auth.py
@@ -1,8 +1,8 @@
from plstackapi.openstack.client import OpenStackClient
-def auth_check(auth):
- client = OpenStackClient(username=auth['Username'],
- password=auth['AuthString'],
- tenant=auth['LoginBase'])
+def auth_check(username, password, tenant):
+ client = OpenStackClient(username=username,
+ password=password,
+ tenant=tenant)
client.authenticate()
return client