Get the contents of a URL requiring cookie authentication.