Ensure that user is logged in before running p4 resolve. Fixes #35.