Protecting Basic Credentials: Selectively Intercepting SSL for the Purpose of Authentication