Friendly Contact - A proof of concept to add authentication to an existing route
Based on http://previousnext.com.au/blog/dynamic-routes-drupal-8-routesubscriber
Simply enable the module. Then open /contact in your browser and expect to see the popup form requiring username and password.