Fixes so that dev login route works.