Fixed session bug when entering beta code manually.