I think I had the same issue, there's actually another door which you should use to get in. The barred one is from where you get out when the quest is complete.
If you're standing in front of the altar, the door is located to your right, down the shrine.