LPS-34258 Fix referrer so that you don't get stuck on update_password when using forgot password