add cookie lookup while retrieving Ticket Granting Ticket Id