There\'s another question that answers this though it doesn\'t specify anything regarding proxy authentication.
Its solution is
(setq url-proxy-services
Nowadays, my approach to the "authenticated proxy problem" is to use CNTLM. It is portable, quite easy to configure and may be run as deamon.