authorization: handle strdup failures in realm file parser