API\Auth test coverage