Add support for remember-me

Add remember me support to security provilder