Change login post action to a relative link instead of specifying root.