Middleware for github based authorization.