Fix for authentication failing resulting in null exception

Forgot to run unit tests before uber push.