Add simplified oauth2 debug endpoint implementation for testing.