Added automatic refresh of cached session token 

For long running processes, such as rails child processes on a slow server, the cached Bronto session identifier created by login() could sometimes expire prior to being used and refreshed.  This patch adds a simple means of triggering a refresh if the token is likely to have expired.