Fixed redirect_uri in register controller.