ooh, credential helper for caching HTTPS logins.
Take a look at http://stackoverflow.com/a/5343146