Fixing the logout issue in webui

A manual page refresh is required.  Avoid the page refresh.

fixes openbmc/openbmc#2737

Change-Id: Iaecb70cd3f9d43b730ca606cf3395f7fdb0640f3
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js
index 3d0f853..63bf71d 100644
--- a/app/common/services/api-utils.js
+++ b/app/common/services/api-utils.js
@@ -202,7 +202,7 @@
                   data: JSON.stringify({"data": []})
                 }).then(function(response){
                   if(callback){
-                      callback(response);
+                      callback(response.data);
                   }
                 }, function(error){
                   if(callback){