Bugfix.
Refactor response processing.
Reset oauth state after getting it from storage.