Removed some custom login code.