WebFlow - Password-protection Security, and the underlying mechanics

As of Oct-2018, WebFlow only offers basic password protection on pages and folders. Here is a discussion of the implementation and some key underlying mechanics, as well as a reflection on how this can be used for more creative UI design.