BUG: CannotEdit flag had been wiped from login procedure