#204 fixed situation when endpoint is inaccessible, and user is not logged in