Error while try to authorize

There was a bug in my last pull request.

Found it now - should it work now.

Sorry!