Merge pull request #4 from poupotte/master

Code cleaning
add authentication in test environment
Merge remote-tracking branch 'upstream/master'