Bug/130 fix photo auth crash