Merge pull request #325 from settinghead/master

gapi auth mock saves token to cookies
Access token is not persisted. Use user id instead.
Merge pull request #326 from Rise-Vision/chrore/persist-user-id-instead-of-auth-tocken

Access token is not persisted. Use user id instead.
redirect oauth2 flow