Added auth key validation - raise exception if not usable instead of json error