Added auth support to the mock backend.