Needed a way to restore the user's session. Just setting header without making any queries.