Thank you very much - it worked. I was aware of "AllowUI" property but description in HttpBaseProtocolFilter class reference says:
"Get or set a value that indicates whether the HttpBaseProtocolFilter can prompt for user credentials when requested by the server."
That's why I didn't think setting it to true would help in my case. Anyway thanks for your very fast reply!