Fix admin redirect loop