Only attempt to update a session from JUserHelper if there is a session.
Merge pull request #1762 from elinw/sessioncheck

Only attempt to update a session from JUserHelper if there is a session.