Fixed tests for basic auth