Refactors UAA token checks into middleware

- The Authenticator middleware can be used to check tokens across
  endpoints