Add a LoginTask + Tests

Need to figure out how to deal with CentralAuth

Change-Id: I7dfe5233e860d64ed2ceb8381a9d7b2949599ea6