Add remember_me functionality including tests for expiry date on cookies