Bug fix: get_redirect_url should take kwargs