ADded deactivate to register.js in system tests