Shift login actions to a single step where possible

Resetting the database does not clear a login session, so use that
to apply to all tests where a single log in is evident.