Fix authenticate_as_app with logging enabled

NoMethodError: undefined method `body' for {"access_token"=>"1426088894273662|dJE00nxA_buHZHdFLOWMtkYTHXA"}:Hash