Fix redirects regression and update auth-flow example