Small bugfix to session code.

BUG=
R=amoser@google.com

Review URL: https://codereview.appspot.com/109040044