* Added test for AuthRepoPasswordManager.
* Switched wrong sort order in AuthRepoPasswordManager.