I created a copy of the whole db and sent it to a friend, he did a change to one of the tables to fix it (nothing to do with the login) and sent it back. The one he sent back is the one that freezes up or doesn't work with the login.