allow the dialog shown while authenticating to be overriden