Fix user cookie to handle admins properly

v0.0.1 had all the admin pages "working" but not being able to return
data properly. This resolves the problem.