Issue 4993 problems after login