CookieAuthProvider for Remember Me functionality.

Based on:
http://jaspan.com/improved_persistent_login_cookie_best_practice