Fix inventory loading if not signed in (#525)

A user's inventory will no longer be requested if the user is not logged
in.  This corrects the error condition observed by @vlv-henryg where
"undefined" was being sent in the URL.