splunk/splunk-sdk-javascript — pull request #1 by itay (2012-04-24 22:20:08+00:00)
Title: Add the ability to autologin

This branch adds an autologin feature. It has two components:

1. If a username/password is specified, then by default, an attempt to login will be made if no session key is present.
2. If a username/password is specified, then by default, any request that returns a 401 will attempt to login again.