Fixed issue #34

Fixed the issue "Error using Web Authentication"
I'm not familiar with Obj-C libraries, but at least it works.
Is this modification correct?