I feel like the houses would have their own bathroom to prevent things like that from happening... but then why wouldn't the chamber of secrets entrance have just been in the slytherin bathrooms..? too obvious? XD
im pretty sure they went back that way didnt they? i guess riddle couldnt use the toilets nearby because they would probably think he had bowel troubles after or something xD