Fixed a sign-in problem for mojanged-account owners.
Fixed up some old logging code.