Fix login on ImageDetail closes #129