Add special error message and deconnect user when he does not have the rights to access the default application (refs #3924)
Merge pull request #828 from thingthing/3.2-I3924

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