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"
Merge pull request #494 from rightscale/ivory_14_21_acu183994_managed_login_fixes

acu183994 Avoid spamming managed login tags rs-19437