Fixed issues accepting cookies from localhost