Adding auto-login for Chrome Apps