[authentication] Removes extra parameter when throwing authentication exception