diff --git a/test/login_logout/test/behave/features/steps/login.py b/test/login_logout/test/behave/features/steps/login.py
index 0c9574d7ae8ca4016a5082c80d9a1ecebd02ce52..fd631bf3d4a021ce20116009483fc22cb1263785 100644
--- a/test/login_logout/test/behave/features/steps/login.py
+++ b/test/login_logout/test/behave/features/steps/login.py
@@ -32,15 +32,15 @@ def step_impl(context, element, variable):
 
 @then(u'I expect that the "{variable}" in the json output is "{value}"')
 def step_impl(context, variable, value):
-    values = get_object_from_json_body(context)
-    assert values[variable] == context.oauth[value]
+    obj = get_object_from_json_body(context)
+    assert obj[variable] == context.oauth[value]
 
 @then(u'I expect that the "{variable}" in the json output contains "{value}"')
 def step_impl(context, variable, value):
-    values = get_object_from_json_body(context)
-    assert context.oauth[value] in values[variable]
+    obj = get_object_from_json_body(context)
+    assert context.oauth[value] in obj[variable]
 
 def get_object_from_json_body(context):
-    values_text = context.behave_driver.get_element("body").text
-    return json.loads(values_text)
+    obj_serialized = context.behave_driver.get_element("body").text
+    return json.loads(obj_serialized)