Quick and dirty fix of crashing when an accesstoken couldn't be
retrieved