Add special error message and deconnect user when he does not have the rights to access the default application (closes #3924)