Move getSessionCookieName into request implementation.