Prevent flashing of auth dialogue.