new support for auth handler in the http lib