Bug: 12730  Correctly clear mailmap table on device reset.

Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
No need for reference here.
Only attempt to set the logger if we have a factory.
Need to check both the standard and the non-standard headers here.

Some clients send 'Authorization' here. Allow for both.
Pass the request object instead of using $_SERVER.

Allows for mocking these values in tests.
Trim any stray ws from the parsed XML.
If the client was broken and didn't send the XML, we need to assume these values.
visibility
Add test for Autodiscover command parsing.
CHANGES
update package.xml
Typo
Ensure we have a password at this point.

If the client failed to send a password, bail out. Fixes some authentication
issues on some broken clients.
BFN
Fix possible undefined index error
Fix accessing undefined object
Merge branch 'master' into imp_6_2