fix post-auth redirect broken by new template encoding