Tests signup and login