Automatic Authentication - T411

I found a way to setup cookies automatically. They are set only once per day with download_auth and Sesions db.
Verified with pep8. I had to use cookiejar with HTTPCookieProcessor in order the grab the cookie before 301 redirection. It work nice for me! Need to do some more tests for unknown situations. but good or bad login work without errors... I will do more test next days!

[EDIT:] The old url_rewrite still work fine. I just add the possibilities to use login informations.

Thks!