auth: fix test and temporary patch the register page.