After logging into the proxy server via CalNet, why do I sometimes see a window with a "Connect to Resource" button?

Usually after you have logged in, your browser is redirected straight to the resource you initially requested. However, under two different circumstances, the proxy server instead displays a window containing a "Connect to Resource" button:

In either case, clicking on the "Connect to Resource" button will usually get you where you're going.