Remove cookieLifetime from HttpEndpointConstructor

Change-Id: I9d9b6c8db20338f1c26c3445f2d6493c59b08ac0