Updated auth to support the latest versions of the requests libraries.

Signed-off-by: Carlos Escribano Rey <carlosescri@gmail.com>