Add XML encoding wrapper, import AuthToken into object.
Use built-in AuthToken rather than passing as a parameter.