Added data getting for index-allowed?
Added tests for authn.