Show the view/preview url when isSingleStoreMode() is true.
Add "Use HTTP Basic Auth" flag to System > Configuration > Catalog > Product Preview.