fix redirect after register
Merge branch 'dev' of https://github.com/yangsiy/Plask into dev