Fix user.present states with non-string fullname

Also added a test case. Fixes #9085.