fix problem with auth index having redirect loop