fixed Authenticator to query applicationcontext for deployed profile ipv in-house hack