Fixed signup and password change errors in the Scala sample app