Fixes fixture primary key error.
Implements guest login function for non-CAS-backed users.