fixed OS X login problems