auth works with resttemplate now