adding password protection check to getShareByToken()
in case no share is found for the given token we can return right away
fixing comment + adding unit test for checkPasswordProtectedShare