LoginManager tests