Hi,
in Safari on MAC you get the authorization window twice. Other threads explain, that it's because in index.php there are links with www.domain.com and without www, just http://domain.com.
In my index.php there are just links without www and with 301 I also force just to load the domain...