Added unit tests for password handling beans.