Refactor: Use the new Role enum from commons, strings as constants

BMS-119

Reviewer: Daniel Villafuerte
Refactor: Changed controller to return a HTTP 400 BAD_REQUEST on invalid logins/errors

BMS-119

Reviewer: Daniel Villafuerte