added unit tests for basic authentication