minor fix auth-dialog