Fix #437

Initialize Application.sessionState to an empty object.