         
         
         let fakeTokenString = "123456789ABCDEFHGUIO"
+        let accessToken = AccessToken(tokenString: fakeTokenString, clientID: newClientID, userID: userID, expiryTime: Date().addingTimeInterval(60))
+        fakeTokenManager.accessTokens[fakeTokenString] = accessToken
+        
         let protectedRequest = Request(method: .get, uri: "/protected/")
         protectedRequest.headers[.authorization] = "Bearer \(fakeTokenString)"
         let protectedResponse = try resourceDrop.respond(to: protectedRequest)

        }
        authDrop.console.wait(seconds: 0.5)
        
        
        let forbiddenRequest = Request(method: .get, uri: "/protected/")
        let forbiddenResponse = try resourceDrop.respond(to: forbiddenRequest)

        
        var authConfig = try Config(arguments: ["vapor", "--env=test"])
        let newClient = OAuthClient(clientID: newClientID, redirectURIs: [redirectURI], clientSecret: clientSecret, validScopes: [scope, scope2], confidential: true, firstParty: true)
        let clientRetriever = StaticClientRetriever(clients: [newClient])
        let fakeUserManager = FakeUserManager()
        let resourceServerRetriever = FakeResourceServerRetriever()
        let oauthProvider = OAuth.Provider(tokenManager: fakeTokenManager, clientRetriever: clientRetriever, authorizeHandler: capturingAuthouriseHandler, userManager: fakeUserManager, validScopes: [scope, scope2], resourceServerRetriever: resourceServerRetriever)
        try authConfig.addProvider(oauthProvider)
        authConfig.addConfigurable(middleware: SessionsMiddleware.init, name: "sessions")
        try authConfig.set("droplet.middleware", ["error", "sessions"])
