Supporting implicit workflow during authorization

This adds implicit workflow support during authorization.
Could this be:

```js
  var type = self.responseType === 'code' ?
    'authorization_code' : self.responseType;
```