Fix problem with 'has' cookie not being sent when URL specifies a port number

number