Revert "Fix login so it knows what BASEPAGE is"

This reverts commit 3f49108cd3d4cdca015a2170ff339e2096c2a4f4.