Have you checked this Stackoverflow thread? The solution involves implementing your own handler for ending a session, which allows you to customize it, unlike the default session end page. If you continue having issues with this implementation, the appropriate forum to use for any future messages (as this Google Group has been deprecated) would be located here:
https://www.googlecloudcommunity.com/gc/AI-ML/bd-p/cloud-ai-ml
If you don’t have a Community account, it’s easy and free to sign up by following the steps here.