Renamed Client property BASIC_AUTH to PREEMPTIVE_BASIC_AUTHENTICATION, as the authentication store is needed only for preemptive auth. For basic auth, use the standard Jersey filter HttpBasicAuthFilter.

Cleaned up tests, so close is called on the client instance, so resources are released after execution.