Redfish(Authorization): Add the privilege in the user session object.

This commit fetches the user privilege during creation of the
session by making D-bus call and add the privilege in the
user session object.

Change-Id: I0e9da8a52df00fc753b13101066ce6d0be9e2ce3
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index 1c9c1f1..602c216 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -99,6 +99,10 @@
         std::make_shared<sdbusplus::asio::connection>(*io);
     redfish::RedfishService redfish(app);
 
+    // Keep the user role map hot in memory and
+    // track the changes using match object
+    crow::persistent_data::UserRoleMap::getInstance();
+
     app.run();
     io->run();