code: def auth_aliases(d):
      
      for alias, real in ((USER_KEY, "readonly_user"),
                          (PASS_KEY, "readonly_password")):
          if alias in d:
              d[real] = d[alias]
              del d[alias]
docs: Interpret user/password aliases.