Update LoginController.scala

Clear pwd after a successful login