token: settings.login ? function(local) {
                    return $.Storage.get(self.prefix_name(local) + '_token');
                } : $.noop,