Ticket #1870: Support to HTTP authentication