Add credentials.token option for 'remember me' style authentication persistance

I'm not sure how many people would find this useful, but we need a persistance strategy for our application to 'remember' user logins.  Storing the encoded token locally seemed to be the best solution, so this PR adds that ability, plus a new public method to get the encoded token.