You need to add the auth token to the login with google account request. You can either add all the code to the template or you can only change the few lines and add a UPL which allows you to have multiple projects using the same template because the server will be different for each playfab project.
The whole thing is not ideal but it’s very specific to PlayFab so I don’t think Epic will take a PR because of that.