Password retrieval completed with integration tests