Fixes to allow folder permissions to work
Reworked authentication policies to make slightly easier to use from client side