Fix session logging incorrectly recording all logins as (admin).