Fix bug with password prompt (#56)