Changed authenticator to include realm