authorization: handle failure of hash_add_unique properly

in case of failure other than EEXIST the error was ignored and the config entry was silently skipped.