add support for a secondary password

Using edpwd I generate a new random secondary password and I add it to
the session. This feature improves user experience and prevents user
from submitting password all time.