login and logout tests failing