Update the payload with authenticated field in the header

Change-Id: I2159e6c9b59b13962b387043572d25e07ddad9cb
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/message_parsers.cpp b/message_parsers.cpp
index b820440..21fb125 100644
--- a/message_parsers.cpp
+++ b/message_parsers.cpp
@@ -234,6 +234,8 @@
 
     if (outMessage->isPacketAuthenticated)
     {
+        header = reinterpret_cast<SessionHeader_t*>(packet.data());
+        header->payloadType |= PAYLOAD_AUTH_MASK;
         internal::addIntegrityData(packet, outMessage, payloadLen);
     }