Replacing deprecated pam_tally2 with faillock usage

pam_tally2 is removed from dev code using below commit:
   - https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41357

Change-Id: Ic43b89a83b7e1bad51af9f85957006eff87e9d6a
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index a5a9de1..b77c10f 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -363,9 +363,9 @@
     Redfish.Post  /redfish/v1/AccountService/Accounts/  body=&{payload}
     ...  valid_status_codes=[${HTTP_CREATED}]
 
-    # Resetting pam tally count as a workaround for issue
+    # Resetting faillock count as a workaround for issue
     # openbmc/phosphor-user-manager#4
-    ${cmd}=  Catenate  /usr/sbin/pam_tally2 -u ${username} --reset
+    ${cmd}=  Catenate  /usr/sbin/faillock --user USER --reset
     Bmc Execute Command  ${cmd}
 
     # Verify login with created user.