Make the autologin button work.