fix(projects): ensure that we don't break if no one is logged in
fix(security): ensure that login returns the correct value

Closes #193