Fixed issue with photos not showing up on homepage
when using protected photos.