Remove redfish login from lib/utils.robot code

Change-Id: Icfadcb4af058f2359b4d81060c85fa07fd35e91a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 95fdf9e..e56eb8b 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -370,9 +370,7 @@
 Redfish Get Auto Reboot
     [Documentation]  Returns auto reboot setting.
 
-    Redfish.Login
     ${resp}=  Redfish.Get Attribute  /redfish/v1/Systems/system  Boot
-    Redfish.Logout
     [Return]  ${resp["AutomaticRetryConfig"]}
 
 
@@ -697,10 +695,8 @@
     # Description of argument(s):
     # setting    The reboot setting, "RetryAttempts" and "Disabled".
 
-    Redfish.Login
     Redfish.Patch  /redfish/v1/Systems/system  body={"Boot": {"AutomaticRetryConfig": "${setting}"}}
     ...  valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
-    Redfish.Logout
 
     ${current_setting}=  Redfish Get Auto Reboot
     Should Be Equal As Strings  ${current_setting}  ${setting}