changed Access.createAccessSingleton hook to allow plugins to inject cus...

...tom Access class while authenticating.

Required for custom plugin to apply different permision granting policy than default one.