Remove some unneeded parameters from check_401.