get_user_id() returns null, not 0, when no session