SOAP-1397: Refactored the authentication inspector classes and added basic support for profiles