assertTrue(x in y) -> assertIn(x, y)
Use UTC methods for testing REMEMBER_COOKIE_DURATION