Fix for login in properly and also in shared folders and widgets