Small tweaks to SessionsController.