Olof Håkansson, 1590-1665, borgmästare