Fixed bug in OAuthLib mixin error handling, tests added