add auth failure callback for servers