more improvements to ahref authentication fail case