Better test for authorized_apps view
Remove unreachable code.

Looking into the oauthlib source code it seems that the
create_token_response method will never raise the
FatalClientError.
Add more test coverage to the authorization_endpoint.

The authorization_response will not raise OAuth2Errors,
only FatalClientErrors.
Refactor the authorization endpoint into a class based view