Replace ap_uname2id() with apr_uid_get()

ap_uname2id() do exit(1) on fail