Registration token generation