PhD student accused of rape had Viagra and ‘white powder’ in flat