Centralized authorization server so it can be overridden from the WSKey object if required for testing, updated the tests as required.