#39 - Port the OAuth Bearer middleware from Katana.