get auth code, but token and access_token are null

now get code, but token and access_token are null,thus can't
save the authentication to preference.

Authentication class if not used for now, I moved all the auth process
to the MainActivity.