Fix pass-by-reference bug in authentication signal