Fixed bug with cms site access in non-cms pages