It may be possible that the user does not have a cookie auth set.

Or it is different then the statement will return 0.

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