Fixing login problems.