Fixed redirect on register route.