avoid being challenged for each request

Setup and use an HTTP context with authentication cache
to avoid receiving a 401 challenge for each request
Merge pull request #151 from cvedel/0.4.0.0

avoid being challenged for each request