if params.get("authenticationMethod"):
            params.put("authenticationMethod", str(params.get("authenticationMethod").name()).lower())