Update to use resourcet >= 1.0

resourcet-1.0 doesn't have the `MonadUnsafeIO` class anymore, but
authenticate-oauth seems to be abusing that anyway. I have instead opted
to use `MonadIO` in the cases where `MonadUnsafeIO` was used.