CONTRIB-4965 :: Another cast problem with Username

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>