Testing Facebook Login with Yii2 and Codeception

I am using the Yii2 authclient extension in order to login to my page. Without logging in to the page, you are not allowed to do anyting.

Now I want to start testing with codeception, but the problem is I have to be logged in with facebook in order to test the different actions. The question is, how to do that through codeception functional test?

Thanks!