Fix invalid call to deprecated method Input::hasSessionStore().