adding password protection check to getShareByToken()

refs https://github.com/owncloud/core/pull/6856

@karlitschek @schiesbn @PVince81 @bantu @butonic THX