Test wrong authentication
Fix autentication
Merge pull request #1115 from camptocamp/auth

Fix Authentication issue