refs #5406 prevent error if user is anonymous