Move local register and login routes to localauth. (#23)