Authenticates an application by its client id and secret, for EST.
the client id
the client secret
Optional
the door
a promise of ok and the principal, or a refusal
ok
Authenticates an application by its client id and secret, for EST.