Added a session authentication control.