[WFCORE-163] Where the '=' character is included in a username only the first occurance is escaped.
Merge pull request #241 from darranl/WFCORE-163

[WFCORE-163] Where the '=' character is included in a username only the first occurance is escaped.