functioning mock oauth login on feature tests