Updated web api to hopefully fix login issue