Reverted returning promise from client code. As long as errors are not swallowed by client they will propagate to handler.
Added error to Proceed function used in OAuthSuccessCallback. Allows clients to send an error response. Also Added protection against sending a response twice.