I'm trying to decide between building a static and isomorphic webapp, and one important criterion is that part of the app is only accessible behind a paywall. Any hints on how to handle authentication and authorization, if there is no dedicated server? How to ensure these pages aren't leaked to the client?