title: Interact with password protected Jupyter /api
body: <p>A friend is trying to run a <a href="https://stackoverflow.com/a/39988047/1815486">script</a> to check which notebooks are using the most memory, but their server is password protected. I'm trying to figure out how to configure authentication using <code>urllib2</code> since I don't believe there is a username, only a password.</p>