More options for controlling session type from application config rather than having to override the useSession() method.