Fixed bug where a NullPointerException would be thrown if no authentication token existed on the device