Login tests converted to scalatest