Don't call `setUser` on transaction if there is no user logged in.  This could
cause the username set on the transaction to be a strange string: " None".
Merge branch 'master' into chrisrossi-fix-tx-user