auth actually does a fetch niow.
fix tests by introdcing mockdb