Fix allowunknownusernames cli option, and add a little debug logging

Change-Id: Ic03a965ab47833af4c8f60a5166d5403e6b50ace
Merge "Fix allowunknownusernames cli option, and add a little debug logging"