Propagate the next= url value when toggling between register and login.