Add basic auth for preview environment

Part of this story https://www.pivotaltracker.com/story/show/68867254