Fix activation code when registering. Fixes #7

Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>