Added authenticator. SecurityException fixed.