Don't store user info if it was not a successful login

Bug: 64407
Change-Id: I075213dd6d5396052a29947715142406862578a8