Sometimes even though a user is authenticated through shib, their devise cookie might have expired which leads to the Lux app assuming that the user has logged out, that leads to some broken thumbnails. We are setting the devise user session timeout config to 24 hours to avoid this. After this duration the user will be asked to login again.
In case our solution here doesn't work there is another gem that handles devise session timeouts: https://github.com/pelargir/auto-session-timeout
Connected to #561