Add functional registration and login test