avoid being challenged for each request

Setup and use an HTTP context with authentication cache
to avoid receiving a 401 challenge for each request