Fixed bug with passwords