Make callback for authenticate pluggable