example of using ECF autologin