[fix bug 884856] Don't try to register anonymous users.