Item12384: Statistics failures

Logger doesn't always supply a topic name.
Register munges the user name by appending the login id.

git-svn-id: http://svn.foswiki.org/trunk/core@16519 0b4bb1d4-4e5a-0410-9cc4-b2b747904278