Infer user's first and last name from username when real_name is empty. Issue #348.