Updates callback phase to handle error case

We were implementing an OAuth2 integration for one of our service brokers and ran into an issue if the user declined to allow our client an access token. In this case, the redirect back from the omniauth middleware was causing an exception. It looked to us that the failure path was not implemented.

This changeset implements this path and will cause omniauth to behave in the correct manner.