It depends on what you’re authentication filter is written for. I am sure the urlrewrite sessions only work for JSP (java serverpages) sessions. JSP is not something I deal with so you maybe best trying asking at the urlrewrite google group page, that seems to host their q/a support.
https://groups.google.com/forum/?fromgroups#!forum/urlrewrite