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"

(cherry picked from commit 22fa68d24a0d0982949b7977ed908cf15d883d09)

Conflicts:
	lib/instance/login_manager.rb
	spec/instance/login_manager_spec.rb