@RequestMapping(value = PUBLIC_PREFIX + ACCOUNTS_PREFIX + "/login", method = RequestMethod.POST)
 @PreAuthorize("isAnonymous()")
 public ResponseEntity<AccountLoginResponseDTO> login(@RequestBody LoginRequestDTO creds)
     throws ServiceException {
   validator.validate(creds);
   Account account = accountService.login(creds.getName(), creds.getPassword());
   account.setPassword(creds.getPassword());
   return new ResponseEntity<AccountLoginResponseDTO>(
       AccountConverter.toLoginResponse(account, secureHeaderFactory), HttpStatus.OK);
 }