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