Added secure password and related tests