Creating mock of ApplicationAuthentication