Fixed problem with unitialized OAuth object in error messages