Fix a bug affecting web service authentication (e.g., Library Browser3)