If `authenticatedAccount` is not required, it seems like this could throw a `NullPointerException`.