Save auth cookie in user's table.

That way we will be able to retrieve user's information later on in the
isLoggedIn() function.

Signed-off-by: Thiago Farina <tfarina@chromium.org>