fix bug with stored state

get_id() of auth provider returns tuple (id, expires) and not single object
Merge pull request #15 from pkit/devel

fix bug with stored state