Added the authentication for Motech Platform Server functionality
Corrected ObjectToXml util to avoid formating special characters