Fixed tests and improved docs regarding password type