Special handling of 'localhost' for the auth cookie.
Merge pull request #8 from robert-claypool/upstream

Special handling of 'localhost' for the auth cookie.