Use RandomLib to generate user tokens

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>