Authentication listener now uses options from options object