OAK-1522 - Provide PojoSR based RepositoryFactory implementation

Adding a testcase for TokenAuthentication with PreAuth

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1600595 13f79535-47bb-0310-9956-ffa450edef68