bugfix Get Cookie

Changed to remove after the acquisition and before the acquisition of
Cookie information.