buffet: Do not remove credentials when invalid_grant.

Change Buffet to not to remove credentials when gcd returns invalid_grant.
The decision to remove credentials is handled outside buffet.
This allows us to not to loose the device permanently in case of short
duartion/temporary GAIA outage (similar to the one happened recently).

TEST=Tested following scenarios on Gale
1. Factory reset from APP when Gale is online.
2. Factory reset from APP when Gale is offline.
3. Verify that the device reconnects back when credentials are removed
from cloud and restored after 1 hour and device authenticates,reconnects
successfully and operates normally there after.

Change-Id: Iebf648738b9c91e59c17ec155baea6876db64d6a
Reviewed-on: https://weave-review.googlesource.com/9990
Reviewed-by: Kan Yan <kyan@google.com>
1 file changed