Added fix for expire password test cases

     -Added Verify Root Password Expired using redfish
     -Set Account Lockout Threshold to set accountlockoutduration also
     -Expire And Change Root Password Via GUI test case fix

Change-Id: I53652db163b5f49c25a9ba0cd22ab6cb92c26d84
Signed-off-by: shrsuman123 <shrsuman@in.ibm.com>
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
index fb23cfc..a7dcd9c 100644
--- a/gui/lib/gui_resource.robot
+++ b/gui/lib/gui_resource.robot
@@ -97,7 +97,7 @@
 Logout GUI
     [Documentation]  Logout of OpenBMC GUI.
 
-    Click Element  ${xpath_user_header}
+    Click Element  ${xpath_root_button_menu}
     Click Element  ${xpath_logout_button}
     Wait Until Page Contains Element  ${xpath_login_button}