Update urlrewrite_redirect.py

not log in = redirect
logged in = not redirect
we need to check the headers logged in.