Issues/1186 post preview auth

Fixes #1186