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
Pro tip: you can pass a "starting point" to expand_path, and it can even be a file ('..' will get rid of the file component of the path), which lets you simplify your require down to:
    require File.expand_path('../spec_helper', __FILE__)

Probably not worth doing on this branch but useful down the road.