Fixed auto photos in authorization

This reverts commit 150923deebcbbca11aeb18bed0ad279ba0dae99d.