do not prompt user for password if in gui