Revert "Remove unnecessary action attrib on login"

This reverts commit 636080284b133b28a4c8bf8a0420ce51aa2343db.