Update page title to function

- Name was grabbing the wrong value from the event.
- Added a test that setting a name does change the title fixing ^
- The fake backend wasn't setting a name so it was defaulting to Environment
- Changed the name to have a class to follow suit on the provider type for
consistency.