Added global filter to oauth plugin