3754070 Improve the lib.login tests

Authored and Committed by pingou 8 years ago
    Improve the lib.login tests
    
    - Add a little bit of documentation in the tests
    - Test that password match when they should and don't match when they should
    - Be consistent in the way we check for exceptions