the doorway could only be opened from the outside , and only by passing a bio-cerebral test that was tuned to the captain in transit which , judging by his current predicament , rafe very much doubted he would pass .