acu183994 Avoid spamming managed login tags rs-19437

This should also avoid occasional issues in which rs_login:state will
get set as "active", when starting with 5.8 it should be "restricted"