Fixed cookies not being sent