Removed deprecated login-related stuff, they are unnecessary complications.