Added greater support for session tokens for login.  Added some extra logic for other cases during login.
Added greater support for session tokens for login.  Added some extra logic for other cases during login.

larssono/synapsePythonClient,zimingd/synapsePythonClient,kkdang/synapsePythonClient,thomasyu888/synapsePythonClient