Fix logging by oauth

Simple operator precedence...
Merge pull request #37 from oerpub/fix-oauth

Fix logging in by oauth