Add autologin support to profiles