diff --git a/src/main/java/com/salesforce/emp/connector/LoginHelper.java b/src/main/java/com/salesforce/emp/connector/LoginHelper.java
index c7b64d7..405f7f1 100644
--- a/src/main/java/com/salesforce/emp/connector/LoginHelper.java
+++ b/src/main/java/com/salesforce/emp/connector/LoginHelper.java
@@ -163,7 +163,7 @@ private static String getSoapUri() {
}
private static byte[] soapXmlForLogin(String username, String password) throws UnsupportedEncodingException {
- return (ENV_START + " " + " " + username + "" + " "
- + password + "" + " " + ENV_END).getBytes("UTF-8");
+ return (ENV_START + " " + username + "" + " "
+ + password + "" + "]]>" + ENV_END).getBytes("UTF-8");
}
}