Adding http authentication