Add password resetting and template HTTP header to behave nicely with url parameters