Merge pull request #163 from sivel/access-nil-pointer

Prevent panic on incorrect auth